package com.dao;

import com.model.Bis_mdl_def;
import com.model.Bis_ope;
import com.model.Bis_opeId;
import com.model.Ret_prd_info;
import com.rtnBean.logoff.CrOpeAll;
import com.rtnBean.logoff.NxOpeAll;
import com.tx.Xpbisope.XpbisopeI;
import com.tx.Xpbisope.XpbisopeO;

public interface IBisOpeDao extends GenericDao<Bis_ope, Bis_opeId> {

	/**
	 * Get current info of operation and path 
	 * @param crPathID
	 * @param crPathVer
	 * @param crOpeNO
	 * @return CrOpeAll
	 */
	CrOpeAll getCrOpeInfo(String crPathID, String crPathVer, String crOpeNO);
	
	/**
	 * Get next ope & path info 
	 * @param pathID
	 * @param pathVer
	 * @param crOpeNO
	 * @return
	 */
	NxOpeAll getNxOpeInfo(String pathID, String pathVer, String crOpeNO);
	
	public XpbisopeO queryByCondition(XpbisopeI xpbisopeI);
	public XpbisopeO addProc(XpbisopeI xpbisopeI);
	public XpbisopeO updateProc(XpbisopeI xpbisopeI);
	public XpbisopeO deleteProc(XpbisopeI xpbisopeI);
	public Bis_ope getDataByKeyProc(String ope_id,String ope_ver);
	public XpbisopeO listAllFnc(XpbisopeI xpbisopeI);
}
